From: Jim Blandy Date: Sat, 19 Jun 1993 21:07:02 +0000 (+0000) Subject: * sysdep.c (rename): Make arguments const. autoconf #defines X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95218 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=19c7afdf5727384c33f11479c5005181495223b5;p=emacs.git * sysdep.c (rename): Make arguments const. autoconf #defines const away on systems which don't have it; any system with prototypes will declare the arguments const (the ones to which I have access do); and systems without prototypes won't notice. --- diff --git a/src/sysdep.c b/src/sysdep.c index 8e7858f23d4..bed1f70035a 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -2694,8 +2694,8 @@ getwd (pathname) #ifndef HAVE_RENAME rename (from, to) - char *from; - char *to; + const char *from; + const char *to; { if (access (from, 0) == 0) {